package com.qf.ssm.mapper;

import com.qf.ssm.pojo.TbStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 王博康
 * @version 1.0
 * @project 07_ssm
 * @description: TODO
 * @date 2022/3/10 9:03 星期四
 */
public interface StudentMapper {

    void addStu(TbStudent student);

    void updateStu(TbStudent student);

    TbStudent findById(@Param("id") Long id);

    List<TbStudent> findByName(@Param("name") String name);

    List<TbStudent> findAll();

}
